//
//  MedicalRecordsTableViewCell.m
//  SeaMelonSeeds_Counselor
//
//  Created by 尤振宇 on 2017/7/20.
//  Copyright © 2017年 杨笑. All rights reserved.
//

#import "MedicalRecordsTableViewCell.h"
#import "JHMacros.h"

@implementation MedicalRecordsTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = [UIColor clearColor];
    self.contentView.backgroundColor = [UIColor clearColor];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    // Initialization code
}

+(NSAttributedString *)Content:(NSString *)text1 text2:(NSString *)text2
{
    NSMutableAttributedString *str = [[NSMutableAttributedString alloc]init];
    [str appendAttributedString:[[NSAttributedString alloc]initWithString:text1 attributes:@{NSFontAttributeName:[UIFont boldSystemFontOfSize:16]}]];
    [str appendAttributedString:[[NSAttributedString alloc]initWithString:text2 attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:16],NSForegroundColorAttributeName:k666666}]];
    return str;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
